<template>
  <div id="app">
    <el-cascader :options="options"></el-cascader>
  </div>
</template>

<script>
export default {
  data() {
    return {
      options: [
        {
          value: "1",
          label: "1",
          children: [
            {
              value: "1-1",
              label: "1-1",
              children: [
                {
                  value: "1-2",
                  label: "1-2",
                },
              ],
            },
          ],
        },
        {
          value: "2",
          label: "2",
          children: [
            {
              value: "2-1",
              label: "2-1",
              children: [
                {
                  value: "2-2",
                  label: "2-2",
                },
              ],
            },
          ],
        }
      ],
    };
  },
};
</script>

